package com.micai.springboot.entity.blog;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.micai.springboot.base.BizEntity;

import java.sql.Timestamp;

/**
 * @Auther: zhaoxinguo
 * @Date: 2018/10/25 16:40
 * @Description: 博客收藏记录表
 */
@TableName("bg_collection_record")
public class BlogCollectionRecordEntity extends BizEntity<BlogCollectionRecordEntity> {
    /**
     * 博客内容ID
     */
    @TableField("content_id")
    private Long contentId;
    /**
     * 收藏人ID
     */
    @TableField("collection_id")
    private Long collectionId;
    /**
     * 收藏时间
     */
    @TableField("collection_time")
    private Timestamp collectionTime;
    /**
     * 收藏状态
     */
    @TableField("status")
    private String status;

    public Long getContentId() {
        return contentId;
    }

    public void setContentId(Long contentId) {
        this.contentId = contentId;
    }

    public Long getCollectionId() {
        return collectionId;
    }

    public void setCollectionId(Long collectionId) {
        this.collectionId = collectionId;
    }

    public Timestamp getCollectionTime() {
        return collectionTime;
    }

    public void setCollectionTime(Timestamp collectionTime) {
        this.collectionTime = collectionTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
